import request from '@/request/request'
// 行业资讯-列表（不登录）
export function industryNewList(params) {
    return request({
        url: '/dev-api/policy/information/informationList',
        method: 'get',
        params,
		headers: {
		    tenantId: "1743924387074326530",aaa_a:"aaa",
		    soureName: "11af56432aba484486704925266b50cd",
		},
    })
}
// 行业资讯-列表详情（不登录）
export function industryNewListDetail(params) {
    return request({
        url: '/dev-api/policy/information/info/' + params,
        method: 'get',
		headers: {
		    tenantId: "1743924387074326530",aaa_a:"aaa",
		    soureName: "11af56432aba484486704925266b50cd",
		},
    })
}
// 行业资讯-列表
export function industryNewMyList(params) {
    return request({
        url: '/dev-api/policy/information/list',
        method: 'get',
        params
    })
}
// 个人中心-我的评论
export function industryNewMyCommentList(params) {
    return request({
        url: '/dev-api/policy/comment/myCommentList',
        method: 'get',
		params
    })
}
// 行业资讯-评论列表
export function industryNewCommentList(params) {
    return request({
        url: '/dev-api/policy/comment/list',
        method: 'get',
		params,
		headers: {
		    tenantId: "1743924387074326530",aaa_a:"aaa",
		    soureName: "11af56432aba484486704925266b50cd",
		},
    })
}
// 行业资讯-新增评论
export function industryNewCommentAdd(data) {
    return request({
        url: '/dev-api/policy/comment',
        method: 'post',
		data
    })
}

// 行业资讯-删除评论
export function industryNewCommentDelete(params) {
    return request({
        url: '/dev-api/policy/comment/batch/'+params,
        method: 'delete'
    })
}

// 行业资讯-新增资讯
export function industryNewAdd(data) {
    return request({
        url: '/dev-api/policy/information',
        method: 'post',
		data
    })
}
// 行业资讯-删除资讯
export function industryNewDelete(params) {
    return request({
        url: '/dev-api/policy/information/batch/'+params,
        method: 'delete'
    })
}
// 行业资讯-资讯审核（改状态）
export function industryNewAudit(data) {
    return request({
        url: '/dev-api/policy/information/audit',
        method: 'post',
		data
    })
}